package day02;

import java.util.Scanner;

public class ScannerDemo02 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入整数1：");
        int i = sc.nextInt();
        System.out.println("请输入整数2：");
        int j= sc.nextInt();
        int sum=i+j;
        System.out.println("你输入整数和为："+sum);
    }
}
